﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VisionLibrary.HighEnd;
using System.Drawing;

namespace THO7AlgoritmTimerApplication
{
    class Kmean : VisionAlgorithm
    {

      public Kmean(String name) : base(name) { }

        public override System.Drawing.Bitmap DoAlgorithm(System.Drawing.Bitmap sourceImage)
        {
            Bitmap returnImage = new Bitmap(sourceImage);

            Kmeans.start(returnImage, 2);

            return returnImage;
        }
    }
}

